linux.samba
[Top] [All Lists]

[Samba] Programatically Modifying Users

Subject: [Samba] Programatically Modifying Users
From: Nigel Rantor
Date: Thu, 28 Jul 2005 14:40:17 +0200
Newsgroups: linux.samba

Hi all,

I have been lurking here on and off for a while and have recently returned after being off-list for a few months, I've searched the MARC list archives and can't see any useful information for my situation.

Basically, I have a system that calls out to the samba command line utilities pdbedit/smbpasswd etc to modify user account information.

This is okay, but very slow and tedious for the amount of users I need to modify so I want to directly access the same functionality that the command line tools do.

So, I have had a look at the source of pdbedit and can see how it generally works, I do however have a few questions that I'm sure the people on this list will be much more able to answer:

- Is there a set of documentation around for the API? I can't seem to find any on the samba site, the developer docs talk about the underlying protocols and provide starting points for that but I can't seem to find API docs.

- Is there an existing set of Java JNI wrappers for this kind of functionality (I know, I'm reaching now...)

- If I just want to access the SAM database functionality which bits of Samba will i need to link against (of course, this will be easy to find out from trial-and-error)

Thanks in advance,

  n

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy